<template>
  <el-card shadow="never" class="searchCard">
      <el-space alignment="normal">
        <div>
          <el-avatar
              v-if="user.avatarurl"
              :src="user.avatarurl"/>
          <el-avatar size="large" shape="square">
            {{ user.username }}
          </el-avatar>
        </div>
        <el-space direction="vertical" alignment="stretch">
          <el-text size="large" >{{ user.username }}</el-text>
          <el-text size="large" >{{ user.desc }}</el-text>
          <div>
            <el-button type="primary">关注</el-button>
            <el-button>私信</el-button>
          </div>
        </el-space>
      </el-space>
  </el-card>
  <el-divider/>
</template>
<script setup>
defineProps({
  user: {
    type: Object,
  }
})
</script>

<style scoped>


</style>